﻿using System;
using System.Numerics;

namespace King.Learn.DoNet.CSharp11.Example
{
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
    internal class FooAttribute<T> : Attribute where T : INumber<T>
    {
        public T Value { get; }

        public FooAttribute(T v)
        {
            Value = v;
        }
    }
}
